package com.campus.service;

import com.campus.model.User;

import java.util.List;

public interface UserService {
    User createUser(User user);

    User updateUser(Long id, User user);

    User getUserById(Long id);

    User getUserByUsername(String username);

    String login(String username, String password);
}
